body {
  font-family: Arial, sans-serif;
  font-size: 16px;
}

h1 {
  text-align: center;
}

form {
  margin: 20px auto;
  max-width: 500px;
}

label {
  display: block;
  margin-bottom: 5px;
}

textarea {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  resize: vertical;
}

select {
  display: block;
  padding: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
}

button[type="submit"] {
  display: block;
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #3e8e41;
}

#result, #translation_result {
  margin: 20px auto;
  max-width: 500px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background-color: #f2f2f2;
}